package java19_1_8.interface_test.capacity;

/**
 * @author yuisama
 * @date 2022/01/08 12:10
 **/
public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("66");
        dog.run();
        Frog frog = new Frog("小蛙");
        System.out.println();
        frog.run();
        frog.swim();
        Goose goose = new Goose("凶猛的大鹅");
        System.out.println();
        goose.run();
        goose.swim();
        goose.fly();
    }
}